﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shakes_and_Fidget_Charplaner
{
	public class Enums
	{
		public enum Stat
		{
			NULL = 0,
			STRENGTH = 1,
			DEXTERITY = 2,
			INTELLIGENCE = 3,
			STAMINA = 4,
			LUCK = 5,
			ALLSTATS = 6,
			DUARTION = 11,
			LIFE = 16,
		}
		public enum Stages
		{
			STAGE1,
			STAGE2,
			STAGE3,
			STAGE4,
			STAGE5,
			STAGE6,
			STAGE7,
			STAGE8,
			STAGE9,
			STAGE10,
			STAGE11,
			STAGE12
		}
		public enum Slot
		{
			WEAPON = 1,
			SHIELD = 2,
			BREAST = 3,
			FEET = 4,
			HANDS = 5,
			HELMET = 6,
			BELT = 7,
			NECKLACE = 8,
			RING = 9,
			TRINKET = 10,
			KEY = 11,
			FLASK = 12,
		}
		public enum Class
		{
			NULL = 0,
			WARRIOR = 1,
			MAGE = 2,
			ARCHER = 3,
		}
		public enum Dungeon
		{
			CLOSED0 = 0,
			CLOSED1 = 1,
			STAGE1 = 2,
			STAGE2 = 3,
			STAGE3 = 4,
			STAGE4 = 5,
			STAGE5 = 6,
			STAGE6 = 7,
			STAGE7 = 8,
			STAGE8 = 9,
			STAGE9 = 10,
			STAGE10 = 11,
			CLEAR = 12,
		}
		public static Stat StatIndex(int index)
		{
			switch (index)
			{
				case 0:
					return Stat.NULL;
				case 1:
					return Stat.STRENGTH;
				case 2:
					return Stat.DEXTERITY;
				case 3:
					return Stat.INTELLIGENCE;
				case 4:
					return Stat.STAMINA;
				case 5:
					return Stat.LUCK;
				case 6:
					return Stat.ALLSTATS;
				case 11:
					return Stat.DUARTION;
				case 16:
					return Stat.LIFE;
				default:
					return Stat.NULL;

			}
		}
		public static Class ClassIndex(int index)
		{
			switch (index)
			{
				case 0:
					return Class.NULL;
				case 1:
					return Class.WARRIOR;
				case 2:
					return Class.MAGE;
				case 3:
					return Class.ARCHER;
				default:
					return Class.NULL;

			}
		}
	}
}
